package yl.hs.bmipfull.pojo.flow;

import org.springframework.lang.Nullable;
import yl.hs.bmipfull.annotations.DBField;
import yl.hs.bmipfull.annotations.DBTable;
import yl.hs.bmipfull.pojo.BaseEntity;

/**
 * 作用:  流程判断条件实体类<br/>
 * 创建时间: 2021年06月23日 09时02分37秒 <br/>
 *
 * @author 张凯
 */
@DBTable(disName = "流程判断条件", mapCode = "flow_condition")
public class FlowConditionEntity extends BaseEntity {

    /**
     * 主键
     */
    @Nullable
    private Long id;
    /**
     * 编号
     */
    @DBField(disName = "流程判断条件编号", mapCode = "sn", isSerialNumber = true, isRequire = true, snPrefix = "FLCT")
    private String sn;
    /**
     * 流程编号
     */
    private String flowSn;
    /**
     * 左侧节点编号
     */
    private String leftNodeSn;
    /**
     * 右节点编号
     */
    private String rightNodeSn;
    /**
     * 状态
     */
    private Short state;

    public Long getId() {
        return this.id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getSn() {
        return this.sn;
    }

    public void setSn(String sn) {
        this.sn = sn;
    }

    public String getFlowSn() {
        return this.flowSn;
    }

    public void setFlowSn(String flowSn) {
        this.flowSn = flowSn;
    }

    public String getLeftNodeSn() {
        return this.leftNodeSn;
    }

    public void setLeftNodeSn(String leftNodeSn) {
        this.leftNodeSn = leftNodeSn;
    }

    public String getRightNodeSn() {
        return this.rightNodeSn;
    }

    public void setRightNodeSn(String rightNodeSn) {
        this.rightNodeSn = rightNodeSn;
    }

    public Short getState() {
        return this.state;
    }

    public void setState(Short state) {
        this.state = state;
    }


    // region 辅助数据


    // endregion

}